// vite.config.js
import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import path from "path";

export default defineConfig({
  plugins: [uni()],
  resolve: {
    alias: {
      "@": path.resolve(__dirname),
      "@/utils": path.resolve(__dirname, "utils"),
      "@/components": path.resolve(__dirname, "components"),
      "@/pages": path.resolve(__dirname, "pages"),
      "@/static": path.resolve(__dirname, "static"),
      "@/store": path.resolve(__dirname, "store"),
      "@/api": path.resolve(__dirname, "api"),
	  "@/config": path.resolve(__dirname, "config"),
    },
  },
});
